define(function(){
  var turn = function () {
          $.getJSON('./data/home.json',function(responseText,responseState,responseObj) {
            /**
            console.log(responseText);
              var obj = responseText;
              // console.log(obj);
              for(var i=0;i<obj.length; i++){
                  // console.log(obj[i]);
                  var data = obj[i].data;
                  // console.log(data);
                  var act_info = data.act_info;
                  // console.log(act_info);
                  for(var j=0;j<act_info.length;j++){
              //       console.log(act_info[j]);
                      var act_rows=act_info[j].act_rows;
                      console.log(act_rows);
              //       console.log(typeof(act_rows));

                      for(var k=0; k<act_rows.length;k++){
                        // var dat=act_rows[k].data;
                        // console.log(dat);
                        var act=act_rows[k].activity;
                        console.log(act);
                        $('#content').html(act.img)
                        console.log(typeof(act));
                        **/

                        var cart_ids = responseText.data.cart_ids;
                        var str1='';
                        for(var i=0;i<act_info.length;i++){
                            var act_rows=act_info.act_rows;
                            for(var j=0;j<act_rows.length;j++){
                                var activity=
                            }
                            str1 +='<div><img src='+app_mimg+'style="width: 100%"/></div>';
                            $('#firstTop').html(str1);
                        }
                        /**
                        // console.log(header)
                         var str1 = '';
                         for(var i in header){
                             var img_url = header[i].img_url;
                             str1 +='<div><img src='+img_url+' style="width: 100%"/></div>'
                         }
                         $('#middle').html(str1);
                        }
                        **/

      })
    }
    return turn;

  });
